//单击任何地方使用充值话费的话费值隐藏
// 全球流量or本地流量 list隐藏
// 流量值list隐藏
// 固定电话
// 宽带
$(document).click(function(){
	$("#user-app-content-charge-money-list").hide('fast', function() {});
	$('.user-app-content-telephone-flow-select-region-list').hide('fast', function() {});
	$('.telephone-flow-recharge-list').hide('fast', function() {});
	$('#user-app-content-fixed-line-telephone-charge-money-list').hide('fast');
	$('#user-app-content-broadband-list').hide('fast');
});
// 鼠标对模块的切换 前面3个
// 鼠标移动倒话费
$("#user-app-li-1").mouseenter(function(event) {
	$(this).addClass('user-app-li-top');
	$(".user-app-li-content1").show('fast');
	// 旅行隐藏
	$("#user-app-li-2").removeClass('user-app-li-top');
	$(".user-app-li-content2").hide('fast');
	// 车险模块隐藏
	$("#user-app-li-3").removeClass("user-app-li-top");
	$(".user-app-li-content3").hide('fast');
});
// 鼠标移动到旅行
$("#user-app-li-2").mouseenter(function(event) {
	$(this).addClass('user-app-li-top');
	$('.user-app-li-content2').show('fast', function() {});
	// 话费充值模块隐藏
	// 话费充值 模块中下拉列表
	$("#user-app-li-1").removeClass("user-app-li-top");
	$(".user-app-li-content1").hide('fast');
	$("#user-app-content-charge-money-list").hide('fast');
	$(".user-app-content-telephone-flow-select-region-list").hide('fast');
	$(".telephone-flow-recharge-list").hide('fast');
	$("#user-app-content-fixed-line-telephone-charge-money-list").hide('fast');
	$("#user-app-content-broadband-list").hide('fast');
	// 车险模块隐藏
	$("#user-app-li-3").removeClass("user-app-li-top");
	$('.user-app-li-content3').hide('fast', function() {});
});
// 鼠标移动到车险
$("#user-app-li-3").mouseenter(function(event) {
	$(this).addClass('user-app-li-top');
	$('.user-app-li-content3').show('fast', function() {});
	// 话费充值模块隐藏
	// 话费充值 模块中下拉列表
	$("#user-app-li-1").removeClass("user-app-li-top");
	$(".user-app-li-content1").hide('fast');
	$("#user-app-content-charge-money-list").hide('fast');
	$(".user-app-content-telephone-flow-select-region-list").hide('fast');
	$(".telephone-flow-recharge-list").hide('fast');
	$("#user-app-content-fixed-line-telephone-charge-money-list").hide('fast');
	$("#user-app-content-broadband-list").hide('fast');
	// 旅行隐藏
	$("#user-app-li-2").removeClass('user-app-li-top');
	$('.user-app-li-content2').hide('fast', function() {});
});

// 鼠标移动到话费充值上的title
// 充话费,充流量,充固话,充宽带
//鼠标每一次移动到别的模块隐藏除去自己以外的下拉list 菜单
// 充值话费
$('#charge-the-phone-title').mouseenter(function(event) {
	$(this).addClass('user-app-li-content1-title-hover');
	$('#filling-flow-title').removeClass('user-app-li-content1-title-hover');
	$('#recharge-landline-title').removeClass('user-app-li-content1-title-hover');
	$('#prepaid-phone-broadband-title').removeClass('user-app-li-content1-title-hover');
	$(".user-app-li-content1-list").animate({left:'0px'});
	// 菜单栏隐藏
	$('.telephone-flow-recharge-list').hide('fast');
	$('.user-app-content-telephone-flow-select-region-list').hide('fast');
	$('#user-app-content-fixed-line-telephone-charge-money-list').hide('fast', function() {});
	$('#user-app-content-broadband-list').hide('fast');
});
// 充值流量
$('#filling-flow-title').mouseenter(function(event) {
	$('#charge-the-phone-title').removeClass('user-app-li-content1-title-hover');
	$(this).addClass('user-app-li-content1-title-hover');
	$('#recharge-landline-title').removeClass('user-app-li-content1-title-hover');
	$('#prepaid-phone-broadband-title').removeClass('user-app-li-content1-title-hover');
	$(".user-app-li-content1-list").animate({left : '-300px'});
	// 隐藏菜单栏
	$('#user-app-content-charge-money-list').hide('fast');
	$('#user-app-content-fixed-line-telephone-charge-money-list').hide('fast');
	$('#user-app-content-broadband-list').hide('fast');
});
// 充值固定电话
$('#recharge-landline-title').mouseenter(function(event) {
	$('#charge-the-phone-title').removeClass('user-app-li-content1-title-hover');
	$('#filling-flow-title').removeClass('user-app-li-content1-title-hover');
	$(this).addClass('user-app-li-content1-title-hover');
	$('#prepaid-phone-broadband-title').removeClass('user-app-li-content1-title-hover');
	$(".user-app-li-content1-list").animate({left : '-600px'});
	// 隐藏菜单栏
	$('#user-app-content-charge-money-list').hide('fast');
	$('.user-app-content-telephone-flow-select-region-list').hide('fast');
	$('.telephone-flow-recharge-list').hide('fast');
	$('#user-app-content-broadband-list').hide('fast');
});
// 充值宽带
$('#prepaid-phone-broadband-title').mouseenter(function(event) {
	$('#charge-the-phone-title').removeClass('user-app-li-content1-title-hover');
	$('#filling-flow-title').removeClass('user-app-li-content1-title-hover');
	$('#recharge-landline-title').removeClass('user-app-li-content1-title-hover');
	$(this).addClass('user-app-li-content1-title-hover');
	$(".user-app-li-content1-list").animate({left : '-900px'});
	// 隐藏菜单栏
	$('#user-app-content-charge-money-list').hide('fast');
	$('.user-app-content-telephone-flow-select-region-list').hide('fast');
	$('.telephone-flow-recharge-list').hide('fast');
	$('#user-app-content-fixed-line-telephone-charge-money-list').hide('fast');

});
//充值话费 模块的右上角 x
$("#close-user-app-li-content1").click(function(event) {
	$('.user-app-li-content1').hide("slow");
	$("#user-app-li-1").removeClass("user-app-li-top");
}); 
// 单机充值话费数字
$(".user-app-content-charge-money").click(function(event) {
	$("#user-app-content-charge-money-list").toggle('fast', function() {});
	event.stopPropagation();//不让他上传倒父类
});


 //单击充值话费的金额
 // 改变 充值金额
 // 改变提交金额
 // 充值金额模块
 $("#10RMB").click(function(event) {
 	/* Act on the event */
 	$("#user-app-content-charge-money").text("10元");
 	$('#user-app-content-telephone-number-price').text("10");
 });
 $("#20RMB").click(function(event) {
 	/* Act on the event */
 	$("#user-app-content-charge-money").text("20元");
 	$('#user-app-content-telephone-number-price').text("20");
 });
 $("#30RMB").click(function(event) {
 	/* Act on the event */
 	$("#user-app-content-charge-money").text("30元");
 	$('#user-app-content-telephone-number-price').text("30");
 });
 $("#50RMB").click(function(event) {
 	/* Act on the event */
 	$("#user-app-content-charge-money").text("50元");
 	$('#user-app-content-telephone-number-price').text("50");
 });
 $("#100RMB").click(function(event) {
 	$("#user-app-content-charge-money").text("100元");
 	$('#user-app-content-telephone-number-price').text("100");
 });
 $("#200RMB").click(function(event) {
 	/* Act on the event */
 	$("#user-app-content-charge-money").text("200元");
 	$('#user-app-content-telephone-number-price').text("200");
 });
 $("#300RMB").click(function(event) {
 	/* Act on the event */
 	$("#user-app-content-charge-money").text("300元");
 	$('#user-app-content-telephone-number-price').text("300");
 });
 $("#500RMB").click(function(event) {
 	/* Act on the event */
 	$("#user-app-content-charge-money").text("500元");
 	$('#user-app-content-telephone-number-price').text("500");
 });
 $("#1000RMB").click(function(event) {
 	$("#user-app-content-charge-money").text("1000元");
 	$('#user-app-content-telephone-number-price').text("1000");
 });
 // 全球流量 or 本地流量 的 整体span
// 本地 和全球的列表 显示
$(".user-app-content-telephone-flow-region").click(function(event) {
	$('.user-app-content-telephone-flow-select-region-list').toggle('fast', function() {});
	event.stopPropagation();
});
// 单击globel-flow 全国流量
// 将地区选择的文本改变为全球
$('#nationwide-flow').click(function(event) {
	$('#user-app-content-telephone-flow-select-region').text('全国流量');
	$('.user-app-content-telephone-flow-select-region-list').hide('fast');
	event.stopPropagation();
});
//单击本地 nativ-flow
// 将地区改为本地
$('#native-flow').click(function(event) {
	$('#user-app-content-telephone-flow-select-region').text('本地流量');
	$('.user-app-content-telephone-flow-select-region-list').hide('fast');
	event.stopPropagation();
});
// 单击需要选择的流量
// 选择多少流量 结算多少钱
$('.telephone-flow-recharge').click(function(event) {
	$('.telephone-flow-recharge-list').toggle('fast');
	event.stopPropagation();
});
$('#50M').click(function(event) {
	$('#telephone-flow-recharge-value').text('50M');
	$("#user-app-content-telephone-flow-price").text('50');
});
$('#100M').click(function(event) {
	$('#telephone-flow-recharge-value').text('100M');
	$("#user-app-content-telephone-flow-price").text('100');
});
$('#200M').click(function(event) {
	$('#telephone-flow-recharge-value').text('200M');
	$("#user-app-content-telephone-flow-price").text('200');
});
$('#300M').click(function(event) {
	$('#telephone-flow-recharge-value').text('300M');
	$("#user-app-content-telephone-flow-price").text('300');
});
$('#500M').click(function(event) {
	$('#telephone-flow-recharge-value').text('500M');
	$("#user-app-content-telephone-flow-price").text('500');
});
$('#1000M').click(function(event) {
	$('#telephone-flow-recharge-value').text('1000M');
	$("#user-app-content-telephone-flow-price").text('1000');
});
$('#2000M').click(function(event) {
	$('#telephone-flow-recharge-value').text('2000M');
	$("#user-app-content-telephone-flow-price").text('2000');
});
$('#3000M').click(function(event) {
	$('#telephone-flow-recharge-value').text('3000M');
	$("#user-app-content-telephone-flow-price").text('3000');
});
// 固定电话充值
$('.user-app-content-fixed-line-telephone-charge-money').click(function(event) {
	$('#user-app-content-fixed-line-telephone-charge-money-list').toggle('fast');
	event.stopPropagation();
});
// 单选充值价格
// 改变售价价格
// 改变单选充值价格
$('#10RMB-fixed-line-telephone').click(function(event) {
	$('#user-app-content-fixed-line-telephone-charge-money').text('10元');
	$('#user-app-content-fixed-line-telephone-number-price').text(10);
});
$('#20RMB-fixed-line-telephone').click(function(event) {
	$('#user-app-content-fixed-line-telephone-charge-money').text('20元');
	$('#user-app-content-fixed-line-telephone-number-price').text(20);
});
$('#30RMB-fixed-line-telephone').click(function(event) {
	$('#user-app-content-fixed-line-telephone-charge-money').text('30元');
	$('#user-app-content-fixed-line-telephone-number-price').text(30);
});
$('#50RMB-fixed-line-telephone').click(function(event) {
	$('#user-app-content-fixed-line-telephone-charge-money').text('50元');
	$('#user-app-content-fixed-line-telephone-number-price').text(50);
});
$('#100RMB-fixed-line-telephone').click(function(event) {
	$('#user-app-content-fixed-line-telephone-charge-money').text('100元');
	$('#user-app-content-fixed-line-telephone-number-price').text(100);
});
$('#200RMB-fixed-line-telephone').click(function(event) {
	$('#user-app-content-fixed-line-telephone-charge-money').text('200元');
	$('#user-app-content-fixed-line-telephone-number-price').text(200);
});
$('#300RMB-fixed-line-telephone').click(function(event) {
	$('#user-app-content-fixed-line-telephone-charge-money').text('300元');
	$('#user-app-content-fixed-line-telephone-number-price').text(300);
});
$('#500RMB-fixed-line-telephone').click(function(event) {
	$('#user-app-content-fixed-line-telephone-charge-money').text('500元');
	$('#user-app-content-fixed-line-telephone-number-price').text(500);
});
$('#1000RMB-fixed-line-telephone').click(function(event) {
	$('#user-app-content-fixed-line-telephone-charge-money').text('1000元');
	$('#user-app-content-fixed-line-telephone-number-price').text(1000);
});
// 宽带充值
$('.user-app-content-broadband').click(function(event) {
	$('#user-app-content-broadband-list').toggle('fast');
	event.stopPropagation();
});
$('#10RMB-broadband').click(function(event) {
	$('#user-app-content-broadband-money').text('10元');
	$('#user-app-content-broadband-price').text(10);
});
$('#20RMB-broadband').click(function(event) {
	$('#user-app-content-broadband-money').text('20元');
	$('#user-app-content-broadband-price').text(20);
});
$('#30RMB-broadband').click(function(event) {
	$('#user-app-content-broadband-money').text('30元');
	$('#user-app-content-broadband-price').text(30);
});
$('#50RMB-broadband').click(function(event) {
	$('#user-app-content-broadband-money').text('50元');
	$('#user-app-content-broadband-price').text(50);
});
$('#100RMB-broadband').click(function(event) {
	$('#user-app-content-broadband-money').text('100元');
	$('#user-app-content-broadband-price').text(100);
});
$('#200RMB-broadband').click(function(event) {
	$('#user-app-content-broadband-money').text('200元');
	$('#user-app-content-broadband-price').text(200);
});
$('#500RMB-broadband').click(function(event) {
	$('#user-app-content-broadband-money').text('500元');
	$('#user-app-content-broadband-price').text(500);
});
$('#1000RMB-broadband').click(function(event) {
	$('#user-app-content-broadband-money').text('1000元');
	$('#user-app-content-broadband-price').text(1000);
});